package com.ruoyi.system.api.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.system.api.ResponseWithData;
import com.ruoyi.system.api.domain.CallRecord;
import com.ruoyi.system.api.domain.Order;

import java.util.Map;

public interface OnlineServiceService {

    /**
     *
     * @param params
     * @return
     */
    ResponseWithData<?> createOrder(Order params) throws Exception;

    /**
     *
     * @param params
     * @return
     */
    ResponseWithData<?> submitCallRecordInfo(CallRecord params) throws Exception;

    /**
     *
     * @param mobile
     * @return
     */
    ResponseWithData<?> getUserContInfo(String mobile);

    /**
     *
     * @param custName
     * @return
     */
    ResponseWithData<?> getUserEqInfoByCustName(String custName);

    /**
     *
     * @param custName
     * @return
     */
    ResponseWithData<?> getUserEqInfoBySerial(String serial);
}
